package com.is.add.model;

import com.is.add.util.VoUtil;

import java.util.Date;


public class OrderItem {
    private Integer orderId;          //订单ID
    private String orderNumber;       //订单编号
    private Integer shopId;           //场馆id
    private String shopName;          //场馆名称
    private Date orderTime;           //订单时间(用户生成订单的时间)
    private Integer orderNum;       //订购量|场地数
    private Date examineTime;       //消费时间(场次时间)
    private Double paySum;          //支付额额
    private Double fee;             //支付服务费
    private String payType;         //支付方式
    private String exchangeCode;    //兑换码
    private String used;            //是否已验证
    private Date usesTime;          //验证时间(用户验证时间)
    private Integer userId;         //用户ID
    private String payAccount;      //支付帐号
    private Double subsidySum;      //补贴金额
    private Double subsidyFee;      //补贴服务费
    private String orderStatus;          //订单状态

    public static OrderItem generateBy(Orders order){
        return  VoUtil.copyBasic(OrderItem.class, order);
    }


    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Date getExamineTime() {
        return examineTime;
    }

    public void setExamineTime(Date examineTime) {
        this.examineTime = examineTime;
    }

    public Double getPaySum() {
        return paySum;
    }

    public void setPaySum(Double paySum) {
        this.paySum = paySum;
    }

    public Double getFee() {
        return fee;
    }

    public void setFee(Double fee) {
        this.fee = fee;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getExchangeCode() {
        return exchangeCode;
    }

    public void setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
    }

    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    public Date getUsesTime() {
        return usesTime;
    }

    public void setUsesTime(Date usesTime) {
        this.usesTime = usesTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPayAccount() {
        return payAccount;
    }

    public void setPayAccount(String payAccount) {
        this.payAccount = payAccount;
    }

    public Double getSubsidySum() {
        return subsidySum;
    }

    public void setSubsidySum(Double subsidySum) {
        this.subsidySum = subsidySum;
    }

    public Double getSubsidyFee() {
        return subsidyFee;
    }

    public void setSubsidyFee(Double subsidyFee) {
        this.subsidyFee = subsidyFee;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }
}
